
<table class="table">
<thead>
	<tr>
		<td class="col-sm-1">parentUid</td>
		<td class="col-sm-1">glType</td>
		<td class="col-sm-1">codePrefix</td>
		<td class="col-sm-1">codePostfix</td>
		<td class="col-sm-1">title</td>
		<td class="col-sm-1">telephone</td>
	</tr>
</thead>
<tbody>
	<?php foreach($modelGl as $i=>$item): ?>
	<tr>
			<?php echo CHtml::activeHiddenField($item,"[$i]id"); ?>	
			<td><?php echo CHtml::dropDownList("[$i]parentUid", $item->parentUid, CHtml::listData(gl::model()->findAll(), 'id', 'title'),array('class'=>'form-control')); ?></td>	
			<td><?php echo CHtml::dropDownList("[$i]glType", $item->glType, CHtml::listData(gltype::model()->findAll(), 'id', 'title'),array('class'=>'form-control')); ?></td>	
			<td><?php echo CHtml::activeTextField($item,"[$i]codePrefix",array('class'=>'form-control')); ?></td>	
			<td><?php echo CHtml::activeTextField($item,"[$i]codePostfix",array('class'=>'form-control')); ?></td>	
			<td><?php echo CHtml::activeTextField($item,"[$i]title",array('class'=>'form-control')); ?></td>	
			<td><?php echo CHtml::activeTextField($item,"[$i]telephone",array('class'=>'form-control')); ?></td>	
		
	</tr>
	<?php endforeach; ?>
<tbody>
</table>